<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.layouts.webapp.override">

  <require>org.nuxeo.ecm.platform.routing.layouts.webapp</require>

  <extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widget name="summary_current_route_action" type="summary_current_route_action"/>
    <widget name="summary_document_route_action" type="summary_document_route_action"/>
    <widget name="summary_current_route_actions_lock" type="summary_current_route_actions_lock"/>

    <widget name="participatingDocuments" type="template">
      <labels>
        <label mode="any">label.document.routing.participatingDocuments
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>docri:participatingDocuments</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /document_routing_widgets/document_suggestion_widget_template.xhtml
        </property>
      </properties>
      <properties widgetMode="edit">
        <property name="cssStyleClass">dataInputText</property>
      </properties>
    </widget>

    <!--since 5.9.2, use only routes of type 'graph'  -->
    <widget name="execution_type" type="selectOneDirectory">
      <fields>
        <field>stepf:execution</field>
      </fields>
      <labels>
        <label mode="any">label.step.folder.execution.type</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="edit">
        <property name="required">true</property>
      </properties>
      <properties widgetMode="any">
        <property name="directoryName">execution_type</property>
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="document_related_route" type="template">
      <labels>
        <label mode="any">label.document.routing.related.route</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>relatedRouteModelDocumentId</field>
      </fields>
      <properties mode="any">
        <property name="template">
          /document_routing_widgets/routing_combobox_widget_template.xhtml
        </property>
      </properties>
      <properties widgetMode="edit">
        <property name="cssStyleClass">dataInputText</property>
      </properties>
    </widget>

    <!-- @deprecated since 5.9.2 - Use only routes of type 'graph'-->
    <widget name="conditional_step_value" type="template">
      <translated>true</translated>
      <fields>
        <field>condstepf:posOfChildStepToRunNext</field>
      </fields>
      <properties mode="any">
        <property name="required">true</property>
        <property name="template">
          /document_routing_widgets/conditional_folder_options_widget_template.xhtml
        </property>
      </properties>
    </widget>
    <widget name="listing_title_link_localized" type="listing_title_link">
      <labels>
        <label mode="any">label.content.header.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data</field>
        <field>data.ref</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>
    <widget name="header_title_and_permlink_localized" type="title_and_permlink">
      <fields>
        <field/>
      </fields>
      <labels>
        <label mode="any"/>
      </labels>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>
  </extension>

</component>
